#!/bin/bash
wget $2/Application/Data/$1/java/$1.java 1>/dev/null 2>&1
echo "Build:"
javac $1.java 2>1
int=$3
while(( $int>0 ))
do
	wget $2/Application/Data/$1/java/$1$int.txt 1>/dev/null 2>&1
	echo "Run:"
	java $1<$1$int.txt 2>1
	let "int--"
done

